package com.dengdingqi.dd.service;


import com.dengdingqi.dd.mapper.EbProductMapper;
import com.dengdingqi.dd.model.EbProduct;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service

public class ProductService {
    @Resource
    private EbProductMapper ebProductMapper;
    public EbProduct detail(int pid){
        EbProduct ebProduct=ebProductMapper.selectById(pid);
        return ebProduct;
    }
}
